package com.john.sqwen.ecbc.vcontroller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * @author john_sqwen
 * @packageName com.john.sqwen.ecbc.vcontroller
 * @date 2022/4/25
 * @projectName ecbc-base
 * @Description EcbcServletInitializer 启动窗口初始化
 **/

public class EcbcServletInitializer extends SpringBootServletInitializer {
    final Logger log = LoggerFactory.getLogger(EcbcServletInitializer.class);
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application)
    {
        log.info("启动配置参数为......{}",application);
        return application.sources(ApplicationView.class);
    }
}
